import React from 'react'
import {Routes,Route} from 'react-router-dom'
import Index from './pages/Index'
import Login from './pages/Login'
import Order from './pages/Order'
import User from './pages/User'

export default function App() {
    return (
        <div>
            <h3>App</h3>
            <Routes>
                <Route path='/login' element={<Login/>}></Route>
                <Route path='/order' element={<Order/>}></Route>
                <Route path='/user' element={<User/>}></Route>
                <Route path='/' element={<Index/>}></Route>
            </Routes>
        </div>
    )
}
